package com.bestbuy.service;

import java.util.List;

import com.bestbuy.pojo.Account;
import com.bestbuy.pojo.AccountInfo;
import com.bestbuy.pojo.AccountRole;

public interface AccountService
{
	public Account RegisterAccount(String username, String password);
	public Account RegisterAccountWithFacebook(String username, String fullname, String gender, String linkFacebook);
	public Account GetAccount(String username);
	public AccountInfo GetAccountInfo(String username);
	public Account Authenticate(String username, String password);
	public void updateAccount(Account account);
	public Account UpdateAccountInfo(String username, String fullname, String sex, String birthday, String address, String email, String phone);
	public void deleteAccount(Account account);
	public List<Account> getListAccount();
	public AccountRole getRoleAccount(String role);
}
